import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
import movie from '../pages/movie/movie.vue'
import music from '../pages/music/music.vue'
import home from '../pages/home/index.vue'
const routes = [
    {
        path:"/music",
        component:music
    },
    {
        path:"/movie",
        component:movie
    },
    {
        path:"/",
        component:home
    },
]
const router = new VueRouter({
    routes,
    mode:"history"
})
export default router;